//
//  SPTiledView.h
//  SPMapKit
//
//  Created by zhangbo on 2017/9/7.
//  Copyright © 2017年 zhangbo. All rights reserved.
//

#import <UIKit/UIKit.h>

@class SPTiledView;

@protocol SPTiledImageDelegate <NSObject>

-(UIImage *)tiledView:(SPTiledView *)tiledView imageForRow:(NSInteger)row column:(NSInteger)column scale:(NSInteger)scale;

@end

@interface SPTiledView : UIView

@property (nonatomic, assign) int numberOfZoomLevels;

@property (nonatomic, weak) id<SPTiledImageDelegate> delegate;

@end
